package com.tanhua.server.exception;

import com.tanhua.model.vo.ErrorResult;
import lombok.Data;

@Data
public class BusinessException extends RuntimeException {
    private ErrorResult vo;

    public BusinessException(ErrorResult vo) {
        super(vo.getErrMessage());
        this.vo = vo;
    }

}
